<template>
  <div>
    <van-nav-bar
        title='账号与安全'
        placeholder
        fixed
        left-arrow
        @click-left="goBack"
    />
    <div>
      <van-form>
        <van-cell title="修改密码" is-link :to="{path:'/password-changing',query:{user_id:user_id}}" />
<!--        <van-cell title="修改密码" is-link :to="{path:'/phone-verification',query:{user_id:user_id}}" />-->
        <van-cell title="注销账号" is-link :to="{path:'/account-cancellation',query:{user_id:user_id}}" />
      </van-form>
    </div>
  </div>
</template>

<script>
export default {
  name: "account_safety",
  data(){
    return{
      user_id:'',
    }
  },
  methods:{
    goBack() {
      this.$router.push("setting?user_id="+this.user_id);
    },
  },
  created() {
    var _this = this
    _this.user_id = _this.$route.query.user_id
  }
}

</script>

<style scoped>

</style>